#!/usr/bin/python3

def tester(start):
    state = start
    def netsted(label):
        nonlocal state
        print (label,state)
        state += 1
    return netsted
F = tester(0)
F('CALI')
F('SANLE')
F('XLB')
F('LIQING')
